package com.hcloud.auth.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.alibaba.nacos.NacosConfigProperties;
import org.springframework.cloud.alibaba.nacos.NacosDiscoveryProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class NacosDiscoveryPropertiesConfig {

    @Bean
    @ConfigurationProperties("spring.cloud.nacos.config")
    public NacosConfigProperties NacosConfigProperties(){
        return new NacosConfigProperties();
    }
}
